package cn.kgc.ubagnet.pojo;

public class Protype {
    private Integer id;

    private Integer level;

    private String proname;

    private Integer parentid;

    private String scrap1;

    private String scrap2;

    @Override
    public String toString() {
        return "Protype{" +
                "id=" + id +
                ", level=" + level +
                ", proname='" + proname + '\'' +
                ", parentid=" + parentid +
                ", scrap1='" + scrap1 + '\'' +
                ", scrap2='" + scrap2 + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getProname() {
        return proname;
    }

    public void setProname(String proname) {
        this.proname = proname == null ? null : proname.trim();
    }

    public Integer getParentid() {
        return parentid;
    }

    public void setParentid(Integer parentid) {
        this.parentid = parentid;
    }

    public String getScrap1() {
        return scrap1;
    }

    public void setScrap1(String scrap1) {
        this.scrap1 = scrap1 == null ? null : scrap1.trim();
    }

    public String getScrap2() {
        return scrap2;
    }

    public void setScrap2(String scrap2) {
        this.scrap2 = scrap2 == null ? null : scrap2.trim();
    }
}